home *** CD-ROM | disk | FTP | other *** search
- 62
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- RunProgram
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- (continued)
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- Notes:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- On
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
- , where possible, the complete path to the program should be
- --- RECORDSEPARATOR ---
- specified. If a path is not provided, then Windows searches for the file in the
- --- RECORDSEPARATOR ---
- following order:
- --- RECORDSEPARATOR ---
- 1
- --- RECORDSEPARATOR ---
- The current directory.
- --- RECORDSEPARATOR ---
- 2
- --- RECORDSEPARATOR ---
- The Windows directory.
- --- RECORDSEPARATOR ---
- 3
- --- RECORDSEPARATOR ---
- The Windows system directory.
- --- RECORDSEPARATOR ---
- 4
- --- RECORDSEPARATOR ---
- The directory containing the executable file for the current task.
- --- RECORDSEPARATOR ---
- 5
- --- RECORDSEPARATOR ---
- The directories listed in the PATH environment variable.
- --- RECORDSEPARATOR ---
- 6
- --- RECORDSEPARATOR ---
- The directories mapped in a network.
- --- RECORDSEPARATOR ---
- On
- --- RECORDSEPARATOR ---
- Windows
- --- RECORDSEPARATOR ---
- , you are not limited to supplying just an executable file name; you can
- --- RECORDSEPARATOR ---
- add any other command line parameters that the executable supports. For
- --- RECORDSEPARATOR ---
- example, to load the Adobe Acrobat Reader with mydoc.pdf, use the following call:
- --- RECORDSEPARATOR ---
- baRunProgram( "acroread.exe mydoc.pdf", "maximised", false )
- --- RECORDSEPARATOR ---
- To print an Acrobat file, you can use
- --- RECORDSEPARATOR ---
- baRunProgram( "c:\acrobat\acroread.exe /p mydoc.pdf", "Hidden", true )
- --- RECORDSEPARATOR ---
- On
- --- RECORDSEPARATOR ---
- Macintosh
- --- RECORDSEPARATOR ---
- , you must supply the full path to the file. Command line arguments
- --- RECORDSEPARATOR ---
- are not supported.
- --- RECORDSEPARATOR ---
- If used with the Wait option, this function will not return control to
- --- RECORDSEPARATOR ---
- Authorware/Director until the jumped to program has quit. If your user switches
- --- RECORDSEPARATOR ---
- back to the Authorware program, it will appear to have frozen. You may choose to
- --- RECORDSEPARATOR ---
- display an on-screen message to inform your user of this. You can also use the
- --- RECORDSEPARATOR ---
- WaitTillActive function to pause execution until the Authorware/Director window
- --- RECORDSEPARATOR ---
- becomes active again.
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- See also:
- --- RECORDSEPARATOR ---
-
- --- RECORDSEPARATOR ---
- baWaitTillActive
- --- RECORDSEPARATOR ---
- baWaitForWindow
- --- RECORDSEPARATOR ---
- baNextActiveWindow
- --- RECORDSEPARATOR ---
- baOpenFile